home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / python-support / python2.6 / rdflib / store / ZODB.pyc (.txt) < prev   
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  1.4 KB  |  34 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. Any = None
  5. from rdflib.store.IOMemory import IOMemory
  6.  
  7. try:
  8.     from persistent import Persistent
  9. except ImportError:
  10.     from Persistence import Persistent
  11.  
  12. from BTrees.IOBTree import IOBTree
  13. from BTrees.OIBTree import OIBTree
  14. from BTrees.OOBTree import OOBTree
  15.  
  16. class ZODB(Persistent, IOMemory):
  17.     
  18.     def createForward(self):
  19.         return IOBTree()
  20.  
  21.     
  22.     def createReverse(self):
  23.         return OIBTree()
  24.  
  25.     
  26.     def createIndex(self):
  27.         return IOBTree()
  28.  
  29.     
  30.     def createPrefixMap(self):
  31.         return OOBTree()
  32.  
  33.  
  34.